Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(yarn): add util playbook to update yarn capacity scheduler #829

Merged
merged 1 commit into from
Jan 12, 2024

Conversation

rpignolet
Copy link
Contributor

Which issue(s) this PR fixes

Additional comments

To use it, define an Ansible variable (classic variable, not a tdp_vars) named yarn_capacity_scheduler which, by default, use default_capacity_scheduler inside tdp_vars.

Agreements

@gonzaloetjo gonzaloetjo linked an issue Dec 29, 2023 that may be closed by this pull request
@gonzaloetjo
Copy link
Contributor

gonzaloetjo commented Dec 29, 2023

In this case, wouldn't a yarn reconfigure re-set the old default_capacity_scheduler vars and forget the overwritten vars of yarn_capacity_scheduler ?

EDIT: ah nevermind, force: false solves it.

Copy link
Contributor

@gonzaloetjo gonzaloetjo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested it with all the use-cases, seems to work fine with reconfigure.

@rpignolet rpignolet merged commit d9d4324 into master Jan 12, 2024
3 checks passed
@rpignolet rpignolet deleted the capacity-scheduler-without-dag branch January 12, 2024 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enhancements for on-the-fly YARN Queue Configuration
2 participants